<!-- Untuk User Biasa -->

<?php
if (!Yii::app()->user->checkAccess(Rights::module()->superuserName)){ ?>
<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<meta name="description" content="Website Resmi Kab. Nduga, Irian Jaya">
	<meta name="keywords" content="Nduga, irian, papua, kabupaten">
	<meta name="charset" content="UTF-8">
	<meta name="robots" content="index, follow">
	<meta name="googlebot" content="index, follow">
	<meta http-equiv="content-language" content="EN">
	<meta name="copyright" content="Copyright © 2013 Kab, NDuga">
	<meta name="author" content="Team">
	<meta name="designer" content="Team">
	<meta name="email" content="revanreginal@gmail.com">
	<meta name="rating" content="general">
	<meta name="distribution" content="Global">
	<meta name="revisit-after" content="30 days">
	<meta http-equiv="expires" content="60">
	
	<meta http-equiv="pragma" content="no-cache" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<body>

<div class="container" id="page">
	<div id="header">
		
	</div><!-- header -->

	<div id="mainmenu">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
			
				array('label'=>'Home', 'url'=>array('/site/index')),
				array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
				array('label'=>'Contact', 'url'=>array('/site/contact')),
				array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
				array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
			),
		)); ?>
	</div><!-- mainmenu -->

	<?php $this->widget('zii.widgets.CBreadcrumbs', array(
		'links'=>$this->breadcrumbs,
	)); ?><!-- breadcrumbs -->

	<?php echo $content; ?>

	

</div><!-- page -->

	<div id="footer">
		Copyright &copy; <?php echo date('Y'); ?> Kejaksaan Tinggi DKI Jakarta<br/>
		email : admin@kejati-dki.go.id
	</div><!-- footer -->

</body>
</html>

<!-- Untuk User Biasa -->


<!-- Untuk User Admin -->
<?php
}else{

include('main_admin.php');
}
?>
<!-- Untuk User Admin -->

